package com.yrc.provider.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.yrc.provider.DemoProvider;

import java.util.Date;

/**
 * Description: DemoProviderImpl
 *
 * @author: YeRuichang
 * @version: 1.0
 * Create at: 2019/7/7 15:42
 * _
 * Copyright:   Copyright (c)2019
 * Company:     songxiaocai
 * _
 * Modification History:
 * Date              Author      Version     Description
 * ------------------------------------------------------------------
 * 2019/7/7 15:42   YeRuichang    1.0
 */
@Service
public class DemoProviderImpl implements DemoProvider {

    public String getDubbo(String str) {
        return String.format("时间：%s, 内容：%s", new Date(), str);
    }
}

